package cn.huiyunche.base.service.vo;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户常用车型VO
 *
 * @author houjianhui
 */
public class UserVehiclesVo implements Serializable {

    /**
     * @fieldName: serialVersionUID
     * @fieldType: long
     * @Description: TODO
     */
    private static final long serialVersionUID = 8605911023922463242L;

    private Long id;

    private Long userid;

    @NotNull(message = "品牌ID不能为空")
    private Long brandid;

    @NotBlank(message = "品牌名称不能为空")
    private String brandname;

    @NotNull(message = "车系ID不能为空")
    private Long vehicleid;

    @NotBlank(message = "车系名称不能为空")
    private String vehiclename;

    private String brandlogo;

    private String vehicleclass;

    private int vehiclelengh;

    private int vehiclewidth;

    private int vehicleheight;

    private int vehicleselfweight;

    private String comment;

    private Date createtime;

    private Date updatetime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getBrandid() {
        return brandid;
    }

    public void setBrandid(Long brandid) {
        this.brandid = brandid;
    }

    public String getBrandname() {
        return brandname;
    }

    public void setBrandname(String brandname) {
        this.brandname = brandname;
    }

    public Long getVehicleid() {
        return vehicleid;
    }

    public void setVehicleid(Long vehicleid) {
        this.vehicleid = vehicleid;
    }

    public String getVehiclename() {
        return vehiclename;
    }

    public void setVehiclename(String vehiclename) {
        this.vehiclename = vehiclename;
    }

    public String getBrandlogo() {
        return brandlogo;
    }

    public void setBrandlogo(String brandlogo) {
        this.brandlogo = brandlogo;
    }

    public String getVehicleclass() {
        return vehicleclass;
    }

    public void setVehicleclass(String vehicleclass) {
        this.vehicleclass = vehicleclass;
    }

    public int getVehiclelengh() {
        return vehiclelengh;
    }

    public void setVehiclelengh(int vehiclelengh) {
        this.vehiclelengh = vehiclelengh;
    }

    public int getVehiclewidth() {
        return vehiclewidth;
    }

    public void setVehiclewidth(int vehiclewidth) {
        this.vehiclewidth = vehiclewidth;
    }

    public int getVehicleheight() {
        return vehicleheight;
    }

    public void setVehicleheight(int vehicleheight) {
        this.vehicleheight = vehicleheight;
    }

    public int getVehicleselfweight() {
        return vehicleselfweight;
    }

    public void setVehicleselfweight(int vehicleselfweight) {
        this.vehicleselfweight = vehicleselfweight;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "UserVehiclesVo [id=" + id + ", userid=" + userid + ", brandid=" + brandid + ", brandname=" + brandname + ", vehicleid=" + vehicleid + ", vehiclename=" + vehiclename + ", brandlogo=" + brandlogo + ", vehicleclass=" + vehicleclass + ", vehiclelengh=" + vehiclelengh + ", vehiclewidth=" + vehiclewidth + ", vehicleheight=" + vehicleheight + ", vehicleselfweight=" + vehicleselfweight + ", comment=" + comment + ", createtime=" + createtime + ", updatetime=" + updatetime + "]";
    }

}
